﻿namespace SjEntityClass
{
    /// <summary>
    /// 采购单头档
    ///</summary>
    [SugarTable("PMDL_T")]
    public class PmdlT
    {
        /// <summary>
        /// 企业编号 
        ///</summary>
         [SugarColumn(ColumnName="PMDLENT" ,IsPrimaryKey = true   )]
         public string Pmdlent { get; set; }
        /// <summary>
        /// 营运据点 
        ///</summary>
         [SugarColumn(ColumnName="PMDLSITE"    )]
         public string Pmdlsite { get; set; }
        /// <summary>
        /// 应用组织 
        ///</summary>
         [SugarColumn(ColumnName="PMDLUNIT"    )]
         public string Pmdlunit { get; set; }
        /// <summary>
        /// 采购单号 
        ///</summary>
         [SugarColumn(ColumnName="PMDLDOCNO" ,IsPrimaryKey = true   )]
         public string Pmdldocno { get; set; }
        /// <summary>
        /// 采购日期 
        ///</summary>
         [SugarColumn(ColumnName="PMDLDOCDT"    )]
         public DateTime? Pmdldocdt { get; set; }
        /// <summary>
        /// 版次 
        ///</summary>
         [SugarColumn(ColumnName="PMDL001"    )]
         public string Pmdl001 { get; set; }
        /// <summary>
        /// 采购人员 
        ///</summary>
         [SugarColumn(ColumnName="PMDL002"    )]
         public string Pmdl002 { get; set; }
        /// <summary>
        /// 采购部门 
        ///</summary>
         [SugarColumn(ColumnName="PMDL003"    )]
         public string Pmdl003 { get; set; }
        /// <summary>
        /// 供应商编号 
        ///</summary>
         [SugarColumn(ColumnName="PMDL004"    )]
         public string Pmdl004 { get; set; }
        /// <summary>
        /// 采购性质 
        ///</summary>
         [SugarColumn(ColumnName="PMDL005"    )]
         public string Pmdl005 { get; set; }
        /// <summary>
        /// 多角性质 
        ///</summary>
         [SugarColumn(ColumnName="PMDL006"    )]
         public string Pmdl006 { get; set; }
        /// <summary>
        /// 数据源类型 
        ///</summary>
         [SugarColumn(ColumnName="PMDL007"    )]
         public string Pmdl007 { get; set; }
        /// <summary>
        /// 来源单号 
        ///</summary>
         [SugarColumn(ColumnName="PMDL008"    )]
         public string Pmdl008 { get; set; }
        /// <summary>
        /// 付款条件 
        ///</summary>
         [SugarColumn(ColumnName="PMDL009"    )]
         public string Pmdl009 { get; set; }
        /// <summary>
        /// 交易条件 
        ///</summary>
         [SugarColumn(ColumnName="PMDL010"    )]
         public string Pmdl010 { get; set; }
        /// <summary>
        /// 税种 
        ///</summary>
         [SugarColumn(ColumnName="PMDL011"    )]
         public string Pmdl011 { get; set; }
        /// <summary>
        /// 税率 
        ///</summary>
         [SugarColumn(ColumnName="PMDL012"    )]
         public string Pmdl012 { get; set; }
        /// <summary>
        /// 单价含税否 
        ///</summary>
         [SugarColumn(ColumnName="PMDL013"    )]
         public string Pmdl013 { get; set; }
        /// <summary>
        /// 币种 
        ///</summary>
         [SugarColumn(ColumnName="PMDL015"    )]
         public string Pmdl015 { get; set; }
        /// <summary>
        /// 汇率 
        ///</summary>
         [SugarColumn(ColumnName="PMDL016"    )]
         public decimal? Pmdl016 { get; set; }
        /// <summary>
        /// 取价方式 
        ///</summary>
         [SugarColumn(ColumnName="PMDL017"    )]
         public string Pmdl017 { get; set; }
        /// <summary>
        /// 付款优惠条件 
        ///</summary>
         [SugarColumn(ColumnName="PMDL018"    )]
         public string Pmdl018 { get; set; }
        /// <summary>
        /// 纳入AMRP计算 
        ///</summary>
         [SugarColumn(ColumnName="PMDL019"    )]
         public string Pmdl019 { get; set; }
        /// <summary>
        /// 运送方式 
        ///</summary>
         [SugarColumn(ColumnName="PMDL020"    )]
         public string Pmdl020 { get; set; }
        /// <summary>
        /// 付款供应商 
        ///</summary>
         [SugarColumn(ColumnName="PMDL021"    )]
         public string Pmdl021 { get; set; }
        /// <summary>
        /// 送货供应商 
        ///</summary>
         [SugarColumn(ColumnName="PMDL022"    )]
         public string Pmdl022 { get; set; }
        /// <summary>
        /// 采购分类一 
        ///</summary>
         [SugarColumn(ColumnName="PMDL023"    )]
         public string Pmdl023 { get; set; }
        /// <summary>
        /// 采购分类二 
        ///</summary>
         [SugarColumn(ColumnName="PMDL024"    )]
         public string Pmdl024 { get; set; }
        /// <summary>
        /// 送货地址 
        ///</summary>
         [SugarColumn(ColumnName="PMDL025"    )]
         public string Pmdl025 { get; set; }
        /// <summary>
        /// 账款地址 
        ///</summary>
         [SugarColumn(ColumnName="PMDL026"    )]
         public string Pmdl026 { get; set; }
        /// <summary>
        /// 供应商连络人 
        ///</summary>
         [SugarColumn(ColumnName="PMDL027"    )]
         public string Pmdl027 { get; set; }
        /// <summary>
        /// 一次性交易对象识别码 
        ///</summary>
         [SugarColumn(ColumnName="PMDL028"    )]
         public string Pmdl028 { get; set; }
        /// <summary>
        /// 收货部门 
        ///</summary>
         [SugarColumn(ColumnName="PMDL029"    )]
         public string Pmdl029 { get; set; }
        /// <summary>
        /// 多角贸易已抛转 
        ///</summary>
         [SugarColumn(ColumnName="PMDL030"    )]
         public string Pmdl030 { get; set; }
        /// <summary>
        /// 多角序号 
        ///</summary>
         [SugarColumn(ColumnName="PMDL031"    )]
         public string Pmdl031 { get; set; }
        /// <summary>
        /// 最终客户 
        ///</summary>
         [SugarColumn(ColumnName="PMDL032"    )]
         public string Pmdl032 { get; set; }
        /// <summary>
        /// 发票类型 
        ///</summary>
         [SugarColumn(ColumnName="PMDL033"    )]
         public string Pmdl033 { get; set; }
        /// <summary>
        /// 采购总税前金额 
        ///</summary>
         [SugarColumn(ColumnName="PMDL040"    )]
         public decimal? Pmdl040 { get; set; }
        /// <summary>
        /// 采购总含税金额 
        ///</summary>
         [SugarColumn(ColumnName="PMDL041"    )]
         public decimal? Pmdl041 { get; set; }
        /// <summary>
        /// 采购总税额 
        ///</summary>
         [SugarColumn(ColumnName="PMDL042"    )]
         public decimal? Pmdl042 { get; set; }
        /// <summary>
        /// 留置原因 
        ///</summary>
         [SugarColumn(ColumnName="PMDL043"    )]
         public string Pmdl043 { get; set; }
        /// <summary>
        /// 备注 
        ///</summary>
         [SugarColumn(ColumnName="PMDL044"    )]
         public string Pmdl044 { get; set; }
        /// <summary>
        /// 预付款发票开立方式 
        ///</summary>
         [SugarColumn(ColumnName="PMDL046"    )]
         public string Pmdl046 { get; set; }
        /// <summary>
        /// 物流结案 
        ///</summary>
         [SugarColumn(ColumnName="PMDL047"    )]
         public string Pmdl047 { get; set; }
        /// <summary>
        /// 账流结案 
        ///</summary>
         [SugarColumn(ColumnName="PMDL048"    )]
         public string Pmdl048 { get; set; }
        /// <summary>
        /// 金流结案 
        ///</summary>
         [SugarColumn(ColumnName="PMDL049"    )]
         public string Pmdl049 { get; set; }
        /// <summary>
        /// 多角最终站否 
        ///</summary>
         [SugarColumn(ColumnName="PMDL050"    )]
         public string Pmdl050 { get; set; }
        /// <summary>
        /// 多角流程编号 
        ///</summary>
         [SugarColumn(ColumnName="PMDL051"    )]
         public string Pmdl051 { get; set; }
        /// <summary>
        /// 最终供应商 
        ///</summary>
         [SugarColumn(ColumnName="PMDL052"    )]
         public string Pmdl052 { get; set; }
        /// <summary>
        /// 两角目的据点 
        ///</summary>
         [SugarColumn(ColumnName="PMDL053"    )]
         public string Pmdl053 { get; set; }
        /// <summary>
        /// 内外购 
        ///</summary>
         [SugarColumn(ColumnName="PMDL054"    )]
         public string Pmdl054 { get; set; }
        /// <summary>
        /// 汇率计算基准 
        ///</summary>
         [SugarColumn(ColumnName="PMDL055"    )]
         public string Pmdl055 { get; set; }
        /// <summary>
        /// 采购中心 
        ///</summary>
         [SugarColumn(ColumnName="PMDL200"    )]
         public string Pmdl200 { get; set; }
        /// <summary>
        /// 联络电话 
        ///</summary>
         [SugarColumn(ColumnName="PMDL201"    )]
         public string Pmdl201 { get; set; }
        /// <summary>
        /// 传真号码 
        ///</summary>
         [SugarColumn(ColumnName="PMDL202"    )]
         public string Pmdl202 { get; set; }
        /// <summary>
        /// 采购方式 
        ///</summary>
         [SugarColumn(ColumnName="PMDL203"    )]
         public string Pmdl203 { get; set; }
        /// <summary>
        /// 配送中心 
        ///</summary>
         [SugarColumn(ColumnName="PMDL204"    )]
         public string Pmdl204 { get; set; }
        /// <summary>
        /// 保留字段str 
        ///</summary>
         [SugarColumn(ColumnName="PMDL900"    )]
         public decimal? Pmdl900 { get; set; }
        /// <summary>
        /// 保留字段end 
        ///</summary>
         [SugarColumn(ColumnName="PMDL999"    )]
         public decimal? Pmdl999 { get; set; }
        /// <summary>
        /// 资料所有者 
        ///</summary>
         [SugarColumn(ColumnName="PMDLOWNID"    )]
         public string Pmdlownid { get; set; }
        /// <summary>
        /// 资料所有部门 
        ///</summary>
         [SugarColumn(ColumnName="PMDLOWNDP"    )]
         public string Pmdlowndp { get; set; }
        /// <summary>
        /// 资料录入者 
        ///</summary>
         [SugarColumn(ColumnName="PMDLCRTID"    )]
         public string Pmdlcrtid { get; set; }
        /// <summary>
        /// 资料录入部门 
        ///</summary>
         [SugarColumn(ColumnName="PMDLCRTDP"    )]
         public string Pmdlcrtdp { get; set; }
        /// <summary>
        /// 资料创建日 
        ///</summary>
         [SugarColumn(ColumnName="PMDLCRTDT"    )]
         public DateTime? Pmdlcrtdt { get; set; }
        /// <summary>
        /// 资料更改者 
        ///</summary>
         [SugarColumn(ColumnName="PMDLMODID"    )]
         public string Pmdlmodid { get; set; }
        /// <summary>
        /// 最近更改日 
        ///</summary>
         [SugarColumn(ColumnName="PMDLMODDT"    )]
         public DateTime? Pmdlmoddt { get; set; }
        /// <summary>
        /// 资料审核者 
        ///</summary>
         [SugarColumn(ColumnName="PMDLCNFID"    )]
         public string Pmdlcnfid { get; set; }
        /// <summary>
        /// 数据审核日 
        ///</summary>
         [SugarColumn(ColumnName="PMDLCNFDT"    )]
         public DateTime? Pmdlcnfdt { get; set; }
        /// <summary>
        /// 资料过账者 
        ///</summary>
         [SugarColumn(ColumnName="PMDLPSTID"    )]
         public string Pmdlpstid { get; set; }
        /// <summary>
        /// 资料过账日 
        ///</summary>
         [SugarColumn(ColumnName="PMDLPSTDT"    )]
         public DateTime? Pmdlpstdt { get; set; }
        /// <summary>
        /// 状态码 
        ///</summary>
         [SugarColumn(ColumnName="PMDLSTUS"    )]
         public string Pmdlstus { get; set; }
        /// <summary>
        /// 来源请购单号 
        ///</summary>
         [SugarColumn(ColumnName="PMDLUD001"    )]
         public string Pmdlud001 { get; set; }
        /// <summary>
        /// 项目编号 
        ///</summary>
         [SugarColumn(ColumnName="PMDLUD002"    )]
         public string Pmdlud002 { get; set; }
        /// <summary>
        /// 大额合同编号 
        ///</summary>
         [SugarColumn(ColumnName="PMDLUD003"    )]
         public string Pmdlud003 { get; set; }
        /// <summary>
        /// 自定义字段(文本)004 
        ///</summary>
         [SugarColumn(ColumnName="PMDLUD004"    )]
         public string Pmdlud004 { get; set; }
        /// <summary>
        /// 自定义字段(文本)005 
        ///</summary>
         [SugarColumn(ColumnName="PMDLUD005"    )]
         public string Pmdlud005 { get; set; }
        /// <summary>
        /// 自定义字段(文本)006 
        ///</summary>
         [SugarColumn(ColumnName="PMDLUD006"    )]
         public string Pmdlud006 { get; set; }
        /// <summary>
        /// 自定义字段(文本)007 
        ///</summary>
         [SugarColumn(ColumnName="PMDLUD007"    )]
         public string Pmdlud007 { get; set; }
        /// <summary>
        /// 承认标记 
        ///</summary>
         [SugarColumn(ColumnName="PMDLUD008"    )]
         public string Pmdlud008 { get; set; }
        /// <summary>
        /// 自定义字段(文本)009 
        ///</summary>
         [SugarColumn(ColumnName="PMDLUD009"    )]
         public string Pmdlud009 { get; set; }
        /// <summary>
        /// 自定义字段(文本)010 
        ///</summary>
         [SugarColumn(ColumnName="PMDLUD010"    )]
         public string Pmdlud010 { get; set; }
        /// <summary>
        /// 自定义字段(数字)011 
        ///</summary>
         [SugarColumn(ColumnName="PMDLUD011"    )]
         public decimal? Pmdlud011 { get; set; }
        /// <summary>
        /// 自定义字段(数字)012 
        ///</summary>
         [SugarColumn(ColumnName="PMDLUD012"    )]
         public decimal? Pmdlud012 { get; set; }
        /// <summary>
        /// 自定义字段(数字)013 
        ///</summary>
         [SugarColumn(ColumnName="PMDLUD013"    )]
         public decimal? Pmdlud013 { get; set; }
        /// <summary>
        /// 自定义字段(数字)014 
        ///</summary>
         [SugarColumn(ColumnName="PMDLUD014"    )]
         public decimal? Pmdlud014 { get; set; }
        /// <summary>
        /// 自定义字段(数字)015 
        ///</summary>
         [SugarColumn(ColumnName="PMDLUD015"    )]
         public decimal? Pmdlud015 { get; set; }
        /// <summary>
        /// 自定义字段(数字)016 
        ///</summary>
         [SugarColumn(ColumnName="PMDLUD016"    )]
         public decimal? Pmdlud016 { get; set; }
        /// <summary>
        /// 自定义字段(数字)017 
        ///</summary>
         [SugarColumn(ColumnName="PMDLUD017"    )]
         public decimal? Pmdlud017 { get; set; }
        /// <summary>
        /// 自定义字段(数字)018 
        ///</summary>
         [SugarColumn(ColumnName="PMDLUD018"    )]
         public decimal? Pmdlud018 { get; set; }
        /// <summary>
        /// 自定义字段(数字)019 
        ///</summary>
         [SugarColumn(ColumnName="PMDLUD019"    )]
         public decimal? Pmdlud019 { get; set; }
        /// <summary>
        /// 自定义字段(数字)020 
        ///</summary>
         [SugarColumn(ColumnName="PMDLUD020"    )]
         public decimal? Pmdlud020 { get; set; }
        /// <summary>
        /// 自定义字段(日期时间)021 
        ///</summary>
         [SugarColumn(ColumnName="PMDLUD021"    )]
         public DateTime? Pmdlud021 { get; set; }
        /// <summary>
        /// 自定义字段(日期时间)022 
        ///</summary>
         [SugarColumn(ColumnName="PMDLUD022"    )]
         public DateTime? Pmdlud022 { get; set; }
        /// <summary>
        /// 自定义字段(日期时间)023 
        ///</summary>
         [SugarColumn(ColumnName="PMDLUD023"    )]
         public DateTime? Pmdlud023 { get; set; }
        /// <summary>
        /// 自定义字段(日期时间)024 
        ///</summary>
         [SugarColumn(ColumnName="PMDLUD024"    )]
         public DateTime? Pmdlud024 { get; set; }
        /// <summary>
        /// 自定义字段(日期时间)025 
        ///</summary>
         [SugarColumn(ColumnName="PMDLUD025"    )]
         public DateTime? Pmdlud025 { get; set; }
        /// <summary>
        /// 自定义字段(日期时间)026 
        ///</summary>
         [SugarColumn(ColumnName="PMDLUD026"    )]
         public DateTime? Pmdlud026 { get; set; }
        /// <summary>
        /// 自定义字段(日期时间)027 
        ///</summary>
         [SugarColumn(ColumnName="PMDLUD027"    )]
         public DateTime? Pmdlud027 { get; set; }
        /// <summary>
        /// 自定义字段(日期时间)028 
        ///</summary>
         [SugarColumn(ColumnName="PMDLUD028"    )]
         public DateTime? Pmdlud028 { get; set; }
        /// <summary>
        /// 自定义字段(日期时间)029 
        ///</summary>
         [SugarColumn(ColumnName="PMDLUD029"    )]
         public DateTime? Pmdlud029 { get; set; }
        /// <summary>
        /// 自定义字段(日期时间)030 
        ///</summary>
         [SugarColumn(ColumnName="PMDLUD030"    )]
         public DateTime? Pmdlud030 { get; set; }
        /// <summary>
        /// 采购最终有效日 
        ///</summary>
         [SugarColumn(ColumnName="PMDL205"    )]
         public DateTime? Pmdl205 { get; set; }
        /// <summary>
        /// 长效期订单否 
        ///</summary>
         [SugarColumn(ColumnName="PMDL206"    )]
         public string Pmdl206 { get; set; }
        /// <summary>
        /// 所属品类 
        ///</summary>
         [SugarColumn(ColumnName="PMDL207"    )]
         public string Pmdl207 { get; set; }
        /// <summary>
        /// 电子采购单号 
        ///</summary>
         [SugarColumn(ColumnName="PMDL208"    )]
         public string Pmdl208 { get; set; }
        /// <summary>
        /// MES单号 
        ///</summary>
         [SugarColumn(ColumnName="PMDL056"    )]
         public string Pmdl056 { get; set; }
        /// <summary>
        /// 已抛转EC 
        ///</summary>
         [SugarColumn(ColumnName="PMDL057"    )]
         public string Pmdl057 { get; set; }
    }
}
